#include "label.h"
#include <QDebug>
Label::Label(QWidget*parent):QLabel(parent)
{

}

void Label:: enterEvent(QEvent*event)
{
    (void)event;
    this->move(200,300);
    qDebug()<<"enterEvent";
}
void Label::leaveEvent(QEvent*event)
{
    (void)event;
    this->move(100,200);
    qDebug()<<"leaveEvent";
}
